[INFO] cloning repository https://github.com/kakaragame/KLauncher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kakaragame/KLauncher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakaragame%2FKLauncher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakaragame%2FKLauncher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3f504913477d89a0997faa9765183b228dd57801
[INFO] building kakaragame/KLauncher against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakaragame%2FKLauncher" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kakaragame/KLauncher on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kakaragame/KLauncher
[INFO] finished tweaking git repo https://github.com/kakaragame/KLauncher
[INFO] tweaked toml for git repo https://github.com/kakaragame/KLauncher written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/kakaragame/KLauncher already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded terminal_size v0.1.16
[INFO] [stderr]   Downloaded number_prefix v0.4.0
[INFO] [stderr]   Downloaded indicatif v0.16.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.60
[INFO] [stderr]   Downloaded bzip2-sys v0.1.10+1.0.8
[INFO] [stderr]   Downloaded console v0.14.0
[INFO] [stderr]   Downloaded futures-executor v0.3.14
[INFO] [stderr]   Downloaded pulldown-cmark v0.2.0
[INFO] [stderr]   Downloaded openssl v0.10.32
[INFO] [stderr]   Downloaded named_pipe v0.3.0
[INFO] [stderr]   Downloaded tokio v1.5.0
[INFO] [stderr]   Downloaded yaml-rust v0.4.5
[INFO] [stderr]   Downloaded vcpkg v0.2.11
[INFO] [stderr]   Downloaded cargo_metadata v0.10.0
[INFO] [stderr]   Downloaded tokio-util v0.6.1
[INFO] [stderr]   Downloaded skeptic v0.13.5
[INFO] [stderr]   Downloaded dtoa v0.4.7
[INFO] [stderr]   Downloaded serde_yaml v0.8.17
[INFO] [stderr]   Downloaded zip v0.5.12
[INFO] [stderr]   Downloaded hyper v0.13.10
[INFO] [stderr]   Downloaded bytecount v0.6.2
[INFO] [stderr]   Downloaded discord-rpc-client v0.3.0
[INFO] [stderr]   Downloaded jenkins_api v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] abdf89a3bad5f98239d0efbab16fbc435c295790a88b7208563b2528e995941f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "abdf89a3bad5f98239d0efbab16fbc435c295790a88b7208563b2528e995941f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abdf89a3bad5f98239d0efbab16fbc435c295790a88b7208563b2528e995941f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abdf89a3bad5f98239d0efbab16fbc435c295790a88b7208563b2528e995941f", kill_on_drop: false }`
[INFO] [stdout] abdf89a3bad5f98239d0efbab16fbc435c295790a88b7208563b2528e995941f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 55b3875bf79f6568d54fc98dfaa41ba7079be4df108d6454c349688e12db7feb
[INFO] running `Command { std: "docker" "start" "-a" "55b3875bf79f6568d54fc98dfaa41ba7079be4df108d6454c349688e12db7feb", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling getrandom v0.2.1
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling bytecount v0.6.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling dtoa v0.4.7
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling urlencoding v1.1.1
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.60
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling bzip2-sys v0.1.10+1.0.8
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.0
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling log v0.4.13
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling parking_lot_core v0.8.2
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling terminal_size v0.1.16
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling http v0.2.3
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling flate2 v1.0.14
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling tracing v0.1.22
[INFO] [stderr]    Compiling mio v0.7.7
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand_core v0.6.1
[INFO] [stderr]    Compiling uuid v0.6.5
[INFO] [stderr]    Compiling url v2.2.0
[INFO] [stderr]    Compiling openssl v0.10.32
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling bzip2 v0.3.3
[INFO] [stderr]    Compiling rand v0.8.2
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.0
[INFO] [stderr]    Compiling console v0.14.0
[INFO] [stderr]    Compiling indicatif v0.16.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling pin-project-internal v1.0.4
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling thiserror v1.0.23
[INFO] [stderr]    Compiling pin-project v1.0.4
[INFO] [stderr]    Compiling zip v0.5.12
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling tracing-futures v0.2.4
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling futures-executor v0.3.14
[INFO] [stderr]    Compiling futures v0.3.14
[INFO] [stderr]    Compiling tokio-stream v0.1.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-util v0.6.1
[INFO] [stderr]    Compiling h2 v0.3.0
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_yaml v0.8.17
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling cargo_metadata v0.10.0
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.2
[INFO] [stderr]    Compiling discord-rpc-client v0.3.0
[INFO] [stderr]    Compiling skeptic v0.13.5
[INFO] [stderr]    Compiling jenkins_api v0.8.0
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.10.10
[INFO] [stderr]    Compiling reqwest v0.11.3
[INFO] [stderr]    Compiling klauncher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `DISCORD_KEY` not defined
[INFO] [stdout]   --> src/gameloader.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let i = env!("DISCORD_KEY").parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings::Auth`
[INFO] [stdout]   --> src/gameloader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::settings::Auth;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings::Launcher`
[INFO] [stdout]   --> src/gameloader.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::settings::Launcher;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings::TestConfig`
[INFO] [stdout]   --> src/gameloader.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::settings::TestConfig;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem`
[INFO] [stdout]  --> src/osspec.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::mem;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/jenkins.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/jenkins.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::{create_dir_all, File};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/jenkins.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/jenkins.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/jenkins.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShortJob`
[INFO] [stdout]   --> src/jenkins.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | use jenkins_api::job::{CommonJob, Job, ShortJob};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/jenkins.rs:93:20
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 if (x.relative_path.starts_with("client/")) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/jenkins.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 94 |                     let value = (format!("{}artifact/{}", build.url, x.relative_path));
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `copy`, `self`
[INFO] [stdout]  --> src/downloader.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |           io::{self, copy, Read},
[INFO] [stdout]   |                ^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/jre.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::{create_dir_all, File, remove_dir_all};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread`, `time`
[INFO] [stdout]  --> src/jre.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs, thread, time};
[INFO] [stdout]   |               ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings`
[INFO] [stdout]  --> src/test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::settings;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/installer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut jre = download_jre().await;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Job`
[INFO] [stdout]   --> src/jenkins.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | use jenkins_api::job::{CommonJob, Job, ShortJob};
[INFO] [stdout]    |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `klauncher`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "55b3875bf79f6568d54fc98dfaa41ba7079be4df108d6454c349688e12db7feb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55b3875bf79f6568d54fc98dfaa41ba7079be4df108d6454c349688e12db7feb", kill_on_drop: false }`
[INFO] [stdout] 55b3875bf79f6568d54fc98dfaa41ba7079be4df108d6454c349688e12db7feb
